
import type { FormRules } from "element-plus";
export const formRule:FormRules = {
  name: [
    { required: true, message: '电影名称为必填项', trigger: 'blur' }
  ],
  type: [
    { required: true, message: '选择电影类型', trigger: 'blur' }
  ],
  country: [
    { required: true, message: '选择国家', trigger: 'blur' }
  ],
  releaseTime: [
    { required: true, message: '请选择上映日期', trigger: 'blur' }
  ]
};
